<?php
namespace App\Http\Controllers\Web\Oauth;

use App\Http\Controllers\Controller as BaseController;
use App\Services\Oauth\User;

class Controller extends BaseController
{
    protected $user;

    public function identity() {
        if (!$this->user) {
            $this->user = new User();
        }
        return $this->user;
    }
}
